package com.lzt.bootdemo.dao;

import com.lzt.bootdemo.pojo.Student;

import java.sql.SQLException;
import java.util.List;

public interface StudentDao {
    List<Student> queryAll() throws SQLException;
    int add(Student s) throws SQLException;
    void delete(int sno) throws SQLException;
    int update(Student s) throws SQLException;
}
